import request from '@/utils/request'

// 查询试验报告硬梁包电气列表
export function listYlbdq(query) {
  return request({
    url: '/sybg/ylbdq/list',
    method: 'get',
    params: query
  })
}

// 查询试验报告硬梁包电气详细
export function getYlbdq(sybgYlbdqId) {
  return request({
    url: '/sybg/ylbdq/' + sybgYlbdqId,
    method: 'get'
  })
}

// 新增试验报告硬梁包电气
export function addYlbdq(data) {
  return request({
    url: '/sybg/ylbdq',
    method: 'post',
    data: data
  })
}

// 修改试验报告硬梁包电气
export function updateYlbdq(data) {
  return request({
    url: '/sybg/ylbdq',
    method: 'put',
    data: data
  })
}

// 删除试验报告硬梁包电气
export function delYlbdq(sybgYlbdqId) {
  return request({
    url: '/sybg/ylbdq/' + sybgYlbdqId,
    method: 'delete'
  })
}
